//
//  UIViewController+ZZUtil.h
//  ZZKitDemo
//
//  Created by hfzhangzhang on 2018/8/8.
//  Copyright © 2018年 hfzhangzhang. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIViewController (ZZUtil)

@end

#pragma 生命循环，查看内存泄漏
@interface UIViewController (lifecycle)

@end


#pragma 弹框，iOS8后版本
@interface UIViewController (Alert)

- (void)showActionSheetWithTitle:(NSString *)title message:(NSString *)message handle:(void(^)(NSInteger buttonIndex))handle cancelButtonTitle:(NSString *)cancelButtonTitle otherButtonTitles:(NSString *)otherButtonTitles, ... NS_REQUIRES_NIL_TERMINATION;

/// alert view
- (void)showAlertViewWithTitle:(NSString *)title message:(NSString *)message handle:(void(^)(NSInteger buttonIndex))handle cancelButtonTitle:(NSString *)cancelButtonTitle otherButtonTitles:(NSString *)otherButtonTitles, ... NS_REQUIRES_NIL_TERMINATION;

@end



